const { message: { checkSignature } } = require('../qcloud')
var mysql = require('../mysql.js')
/**
 * 响应 GET 请求（响应微信配置时的签名检查请求）
 */
async function get(ctx, next) {
  ctx.state.data = await mysql.from('question').select();
  //ctx.body = '周老师好帅'
}

async function post(ctx, next) {

  ctx.body = 'success'
}

module.exports = {
  post,
  get
}
